(function() {
    'use stritc'
    angular.module('BlurAdmin.pages.shops', [])
        .config(routeCnig);
    /** @ngInject */
    function routeCnig($stateProvider) {
        $stateProvider
            .state('shops', {
                url: '/shops',
                title: '店铺管理',
                template: '<ui-view autoscroll="true" autoscroll-body-top></ui-view>',
                abstract: true,
                sidebarMeta: {
                    icon: 'fa fa-university',
                    order: 143
                }
            });
        $stateProvider
            .state('shops.list', {
                url: '/list',
                title: '店铺列表',
                controller: 'shopsCtrl',
                templateUrl: 'app/pages/shops/shops.html',
                sidebarMeta: {
                    order: 0
                }
            });
        $stateProvider
            .state('shops.integrate', {
                url: '/integrate',
                title: '消费豆记录',
                controller: 'integrateCtrl',
                templateUrl: 'app/pages/shops/integrate.html',
                sidebarMeta: {
                    order: 0
                }
            });
    }

})();